<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>工资管理</title>
    <%@include file="/static/common/common.jsp"%>
    <script src="/static/js/system/layout/salary.js"></script>
</head>
<body>
<%--自己写的管理--%>
<table id="salary_datagrid"></table>
<!--左上方工具栏-->
<div id="toolbar">
    <div>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="add">新增</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        月份: <input type="text" editable="false" class="easyui-datebox" id="appoint" prompt="查询指定的月份"/>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true"
           data-cmd="query">Search</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" data-cmd="importExcel">导入</a>
    </div>
</div>
<%--<!--模态框-->--%>
<div id="salary_dialog">
    <form method="post" id="salary_form">
        <%--<input type="hidden" name="id" id="salaryId">--%>
        <table align="center" style="padding: 20px 0 0 20px;">
            <tr>
                <td>员工姓名:</td>
                <td><input class="easyui-combobox" style="width:150px" id="realname" name="identifier.id" data-options="
                        url:'/employee/selectAll',
                        valueField:'id',
                        textField:'realname',
                        panelHeight:'auto'
                    "></td>
                <td>部门:</td>
                <td><input class="easyui-combobox" style="width:150px" id="dept" readonly="true"></td>
                <td>工号:</td>
                <td><input class="easyui-textbox" style="width:150px" id="identifier" readonly="true"></td>
            </tr>
            <tr>
                <td>工资卡号:</td>
                <td><input class="easyui-textbox" style="width:150px" name="bankcardNumber"></td>
                <td>工作天数:</td>
                <td><input class="easyui-textbox" style="width:150px" id="workday" readonly="true"></td>
                <td>迟到天数:</td>
                <td><input class="easyui-textbox" style="width:150px" id="lateDay" readonly="true"></td>
            </tr>
            <tr>
                <td>基本工资:</td>
                <td><input class="easyui-combobox" style="width:150px;" id="baseSalary" readonly="true"></td>
                <td>奖金:</td>
                <td><input class="easyui-numberbox" style="width:150px" id="bonus" name="bonus"></td>
                <td>奖金系数:</td>
                <td><input readonly="true" class="easyui-textbox" style="width:150px" id="coefficient"></td>
            </tr>
            <tr>
                <td>五险:</td>
                <td><input class="easyui-textbox" readonly="true" style="width:150px" id="socialInsurance" name="socialInsurance"></td>
                <td>公积金:</td>
                <td><input class="easyui-textbox" readonly="true" style="width:150px" id="accumulationFund" name="accumulationFund"></td>
                <td>加班补贴:</td>
                <td><input class="easyui-numberbox" style="width:150px" id="overtime" name="overtime"></td>
            </tr>
            <tr>
                <td>个人所得税:</td>
                <td><input readonly="true" class="easyui-textbox" style="width:150px" id="personalIncome" name="personalIncome"></td>
                <td>职位:</td>
                <td><input readonly="true" class="easyui-combobox" style="width:150px" id="position"></td>
                <td>实发工资:</td>
                <td><input readonly="true" class="easyui-textbox" style="width:150px" id="realWages" name="realWages"></td>
            </tr>
        </table>
    </form>
</div>
<div id="salary_buttons">
    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-save" data-cmd="save_dialog" >保存</a>
    <a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-no" data-cmd="close_dialog" >关闭</a>
</div>

</body>
</html>